Open
Conversation
This will help improve perl core smoke times on VC. Most usage of Win32:: is through Cwd:: to get the CWD. PE version resource inspection and GUID generation are very rare by comparison.
faster loading time, no Config.pm in the perl process
Author
|
Bump. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Some time savings in loading Win32.pm/Win32.dll, the module was
dmake installed between tests.BEFORE
C:\sources\win32>timeit -f t.dat perl -e"system('perl -MWin32 -e"0"') for 0..3
00"
Version Number: Windows NT 6.1 (Build 7601)
Exit Time: 10:45 pm, Tuesday, January 12 2016
Elapsed Time: 0:00:12.837
Process Time: 0:00:00.390
System Calls: 527642
Context Switches: 90291
Page Faults: 412956
Bytes Read: 39647078
Bytes Written: 1406213
Bytes Other: 1314035
C:\sources\win32>
AFTER delay load
C:\sources\win32>timeit -f t.dat perl -e"system('perl -MWin32 -e"0"') for 0..3
00"
Version Number: Windows NT 6.1 (Build 7601)
Exit Time: 10:37 pm, Tuesday, January 12 2016
Elapsed Time: 0:00:12.388
Process Time: 0:00:00.265
System Calls: 498354
Context Switches: 85755
Page Faults: 396541
Bytes Read: 39622468
Bytes Written: 0
Bytes Other: 1267236
C:\sources\win32>
AFTER XSLoader
C:\sources\win32>timeit -f t.dat perl -e"system('perl -MWin32 -e"0"') for 0..3
00"
Version Number: Windows NT 6.1 (Build 7601)
Exit Time: 10:38 pm, Tuesday, January 12 2016
Elapsed Time: 0:00:10.805
Process Time: 0:00:00.374
System Calls: 426147
Context Switches: 78001
Page Faults: 367246
Bytes Read: 33923778
Bytes Written: 61652
Bytes Other: 1060160
C:\sources\win32>